<%= JSON.parse(({'logs' => @logs }).to_json).to_yaml %>

instances:
<% @instances.each do |i| -%>
  - url: <%= i['url'] %>
    <% unless i['new_leader_checks'].nil? %>
    new_leader_checks: <%= i['new_leader_checks'] %>
    <% end %>
    <% unless i['catalog_checks'].nil? %>
    catalog_checks: <%= i['catalog_checks'] %>
    <% end %>
    <% unless i['service_whitelist'].nil? %>
    service_whitelist: <%= i['service_whitelist'] %>
    <% end %>
    <% if i.key?('tags') && !i['tags'].empty? -%>
    tags:
      <% i['tags'].each do |t| -%>
      - <%= t %>
      <% end -%>
    <% end -%>
<% end -%>

# Nothing to configure here
init_config:
